package com.sc.design.resposibilitychain;

/**
 * @author sc
 * Created on  2017/12/6
 */
public class Husband extends Handler {
    Husband(){
        super(Handler.HUSBAND);
    }

    @Override
    protected void response(IWomen women) {
        System.out.println("妻子向老公请示");
        System.out.println(women.getRequet());
        System.out.println("老公同意");
    }
}
